<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
{{ define "content" }}
<p class="lead">
    <a href="/thread/new">Start a thread</a> or join one below!
</p>

{{ range . }}
    <div class="panel panel-default">
        <div class="panel-heading">
            <span class="lead"> <i class="fa fa-comment-o"></i> {{ .Topic }}</span>
        </div>
        <div class="panel-body">
            Started by {{ .User.Name }} - {{ .CreatedAtDate }} - {{ .NumReplies }} posts.
            <div class="pull-right">
                <a href="/thread/read?id={{ .Uuid }}">Read more</a>
            </div>
        </div>
    </div>
{{ end }}
{{ end }}
</body>
</html>